DEFINITION FOR C MODULE MathFFP ;

FROM SYSTEM IMPORT SHORTREAL , ADDRESS ;

VAR
  MathBase : ADDRESS ;

PROCEDURE SPFix( parm : SHORTREAL ) : LONGINT ;
PROCEDURE SPFlt( integer : LONGINT ) : SHORTREAL ;

PROCEDURE SPCmp( leftParm, rightParm : SHORTREAL ) : LONGINT ;
PROCEDURE SPTst( parm : SHORTREAL ) : LONGINT ;

PROCEDURE SPAbs( parm : SHORTREAL ) : SHORTREAL ;
PROCEDURE SPNeg( parm : SHORTREAL ) : SHORTREAL ;
PROCEDURE SPAdd( leftParm, rightParm : SHORTREAL ) : SHORTREAL ;
PROCEDURE SPSub( leftParm, rightParm : SHORTREAL ) : SHORTREAL ;
PROCEDURE SPMul( leftParm, rightParm : SHORTREAL ) : SHORTREAL ;
PROCEDURE SPDiv( leftParm, rightParm : SHORTREAL ) : SHORTREAL ;

(*--- functions in V33 or higher (Release 1.2) ---*)

PROCEDURE SPFloor( parm : SHORTREAL ) : SHORTREAL ;
PROCEDURE SPCeil ( parm : SHORTREAL ) : SHORTREAL ;

END MathFFP.
